package com.socket.server.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ProjectName: springboot_socket
 * @Package: com.sn.socket.utils
 * @ClassName: ${CLASS_NAME}
 * @Author: xiahuihui
 * @Description: ${description}
 * @Date: 2020/5/13 0013 17:38
 * @Version: 1.0
 */
public class StringUtil {
    private static final Logger logger = LoggerFactory.getLogger(StringUtil.class);
    public static String getMessage(String info){
        String[] one = info.split("#");
        String[] two = one[1].split("@");
        logger.info(two[0]);
        return two[0];
    }
}
